/**
 * Copyright 2025 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

@import url("./spectrum-tray-wrapper.css");
@import url("./spectrum-tray.css");
@import url("./tray-overrides.css");

:host {
    align-items: flex-end;
    position: fixed !important;
    max-height: 100vh;
    max-height: 100dvh;
}

sp-underlay {
    touch-action: none;
}

.tray {
    display: inline-flex;
    overscroll-behavior: contain;
}

.visually-hidden,
::slotted(.visually-hidden) {
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    margin: 0 -1px -1px 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}
